In statistics, Bartlett's test (Snedecor and Cochran, 1983) is used to test if k samples are from populations with equal variances. Equal variances across samples is called homoscedasticity or homogeneity of variances. Some statistical tests, for example the analysis of variance, assume that variances are equal across groups or samples. The Bartlett test can be used to verify that assumption.
Bartlett's test is sensitive to departures from normality. That is, if the samples come from non-normal distributions, then Bartlett's test may simply be testing for non-normality. The Levene test and Brown–Forsythe test are alternatives to the Bartlett test that are less sensitive to departures from normality.
Bartlett's test is used to test the null hypothesis, H0 that all k population variances are equal against the alternative that at least two are different.
If there are k samples with size and sample variance then Bartlett's test statistic is
where and is the pooled estimate for the variance.
The test statistic has approximately a distribution. Thus the null hypothesis is rejected if (where is the upper tail critical value for the distribution).
Bartlett's test is a modification of the corresponding likelihood ratio test designed to make the approximation to the distribution better (M. S. Bartlett 1937).
|